package com.ruoyi.customerService.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Date;
import java.sql.Timestamp;

//客服中心-理赔账单
@Data
public class CsClaimsBillingRecords implements Serializable {
    private static final long serialVersionUID = -2775871866936225103L;
    /**
     * 主键
     */
    private Integer id;

    /**
     * 运单号
     */
    @Excel(name = "运单号")
    private String transportCode;

    /**
     * 揽收扫描网点
     */
    @Excel(name = "揽收扫描网点")
    private Integer pickupScanNetworkId;

    /**
     * 理赔类型id
     */
    @Excel(name = "理赔类型id")
    private Integer claimTypeId;

    /**
     * 账单生成日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "账单生成日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date billGenerationDate;

    /**
     * 理赔来源
     */
    @Excel(name = "理赔来源")
    private String claimSource;

    /**
     * 投诉赔偿款
     */
    @Excel(name = "投诉赔偿款")
    private BigDecimal complaintCompensationAmount;

    /**
     * 违规服务费
     */
    @Excel(name = "违规服务费")
    private BigDecimal violationServiceFee;

    /**
     * 举证失败仲裁服务费
     */
    @Excel(name = "举证失败仲裁服务费")
    private BigDecimal arbitrationFailureEvidenceFee;

    /**
     * 协商赔付金额
     */
    @Excel(name = "协商赔付金额")
    private BigDecimal negotiatedSettlementAmount;

    /**
     * 处理结果
     */
    @Excel(name = "处理结果")
    private String handlingResult;

    /**
     * 投诉方网点
     */
    @Excel(name = "投诉方网点")
    private Integer complainantParty;

    /**
     * 投诉托管服务网点
     */
    @Excel(name = "投诉托管服务网点")
    private Integer complainantCustodyServiceBranch;

    /**
     * 被投诉方1（转运中心）
     */
    @Excel(name = "被投诉方1", readConverterExp = "转=运中心")
    private Integer defendantParty1;

    /**
     * 被投诉方1托管服务网点（网点）
     */
    @Excel(name = "被投诉方1托管服务网点", readConverterExp = "网点")
    private Integer defendantParty1CustodyServiceBranch;

    /**
     * 被投诉方2（转运中心）
     */
    @Excel(name = "被投诉方2", readConverterExp = "转=运中心")
    private Integer defendantParty2;

    /**
     * 被投诉方2托管服务网点（网点）
     */
    @Excel(name = "被投诉方2托管服务网点", readConverterExp = "网=点")
    private Integer defendantParty2CustodyServiceBranch;

    /**
     * 1:我投诉的 2:投诉我的
     */
    @Excel(name = "1:我投诉的 2:投诉我的")
    private Integer type;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp updateTime;
    //揽收扫描网点
    private String pickupScanNetwork;
    //理赔类型
    private String claimType;
    //投诉方网点
    private String complainantPartyName;
    //    投诉托管服务网点
    private String complainantCustodyServiceBranchName;
    //    被投诉方1（转运中心）
    private String defendantParty1Name;
    //    被投诉方1托管服务网点（网点）
    private String defendantParty1CustodyServiceBranchName;
    //    被投诉方2（转运中心）
    private String defendantParty2Name;
    //    被投诉方2托管服务网点（网点）
    private String defendantParty2CustodyServiceBranchName;
}
